package com.lx.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 列关键字枚举
 *
 * @author lx
 * @create 2022/12/13 17:05
 **/
@Getter
@AllArgsConstructor
public enum ColumnKeyWorldEnum {

    SUM(0, "SUM(%s) "),
    AVG(0, "AVG(%s) "),
    COUNT(0, "COUNT(%s) "),
    DISTINCT(1, "DISTINCT %s ");

    /**
     * 关键字等级
     */
    private final int grade;

    /**
     * 格式表达式
     */
    private final String keyWord;


}
